<?php
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use app\assets\AppAsset;

/* @var $this \yii\web\View */
/* @var $content string */

AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?></title>
    <?php $this->head() ?>
    <style>
    .bs-sidebar .nav > .active > ul {
	    display: block;
	    margin-bottom: 8px;
	}
    </style>

    <link href="<?= Yii::$app->getHomeUrl() ?>kendoui/styles/kendo.common.min.css" rel="stylesheet" />
    <link href="<?= Yii::$app->getHomeUrl() ?>kendoui/styles/kendo.default.min.css" rel="stylesheet" />
    <link href="<?= Yii::$app->getHomeUrl() ?>css/icon.css" rel="stylesheet" />

    <script src="<?= Yii::$app->getHomeUrl() ?>kendoui/js/kendo.web.min.js"></script>
    <script src="<?= Yii::$app->getHomeUrl() ?>js/app.js"></script>
    <script src="<?= Yii::$app->getHomeUrl() ?>js/validator.js"></script>
    <script src="<?= Yii::$app->getHomeUrl() ?>js/jquery.cookie.js"></script>
    
    <style>
        .wrap {
            background-color:#5bafdb;
            min-height: 100%;
            height: auto;
            margin-top: 0px;
        }
    	
    	.container {
		    width: 100% !important;
		}


    </style>

    <script>
        app.homeUrl = "<?= Yii::$app->getHomeUrl() ?>";
    </script>
</head>
<body>

<?php $this->beginBody() ?>
    <div class="wrap">
        <div style="padding:5px; padding-left:20px; height:40px;">
            <label style="font-size:20px;">NextStage</label> <label style="color:white; font-size:20px;"><?= Yii::t('app', 'Schedule management system')  ?></label>
        </div>

        <div class="container" style="min-width:1350px; padding:0px; height: auto; min-height: 100%">
            <div style="float:left; width:250px;">
				<ul class="nav nav-pills nav-stacked">
				  <li class="active"><a href="#">Home</a></li>
				  <li><a href="/customer/list">Customer</a></li>
				  <li><a href="#">Messages</a></li>
				</ul>
			</div>
            <div style="float: none; overflow-x: hidden; overflow-y: auto; position: relative; width: auto; padding:50px; margin-top:0px; background-color: white; height: auto; min-height: 100%">
            <?= $content ?>
            </div>
        </div>
    </div>

<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>
